package com.maket.scxx.service.impl;

import com.maket.scxx.domain.CpProduct;
import com.maket.scxx.mapper.CpProductMapper;
import com.maket.scxx.service.CpProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@SuppressWarnings("all")
@Service
public class CpProductServiceImpl implements CpProductService {
    @Autowired
    private CpProductMapper cpProductMapper;
    @Override
    public List<CpProduct> getAll(CpProduct cpProduct) {
        return cpProductMapper.getAll(cpProduct);
    }
}
